package Dominio;

import java.util.LinkedList;

import junit.framework.TestCase;

public class TestHorarios extends TestCase {
	
	private Cliente cliente;
	private LinkedList<String> horarios;

	protected void setUp() throws Exception {
		super.setUp();
		cliente= new Cliente();
		
	}

	protected void tearDown() throws Exception {
		super.tearDown();
	}

	public void testConsultarHorariosISOICorrectos() {
		horarios=cliente.consultarHorarios("ISO I");
		assertEquals("Horario de lunes correcto","10.30 - 12.20",horarios.poll());
		assertEquals("Horario de martes correcto","-",horarios.poll());
		assertEquals("Horario de miercoles correcto","11.30 - 12.20",horarios.poll());
		assertEquals("Horario de jueves correcto","9.30 - 10.20",horarios.poll());
		assertEquals("Horario de viernes correcto","-",horarios.poll());
		
	}

}
